package com.example.fist.entity;

import org.json.JSONException;
import org.json.JSONObject;

import java.util.Date;

public class timetest
{
    public static void main(String[] args) {
        JSONObject jss=new JSONObject();
        try {
            jss.put("p",100);
            jss.put("p2","ppp") ;
            System.out.println( jss.remove("p2"));
        } catch (JSONException e) {
            e.printStackTrace();
        }
        System.out.println(jss.toString());



    }

}
